package net.zjitc.service;

import net.zjitc.domain.Result;
import net.zjitc.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {

    Boolean addUser(User user);

    public void deleteById(Integer id);

    public void update(User user);

    public User findById(Integer id);

    public Result findPage(int currentPage, int pageSize, User user);
}
